//
//  HomeTableViewController.swift
//  xinlangweibo
//
//  Created by 陈志强 on 15/11/8.
//  Copyright © 2015年 陈志强. All rights reserved.
//

import UIKit
import AFNetworking
import SVProgressHUD
class HomeTableViewController: BaseTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        visittorLigonView?.seUIInfo(nil , title: "关注一些人，回这里看看有什么惊喜")
        
      
        }
    
    func demo(){
        let AFN = AFHTTPSessionManager()
        AFN.responseSerializer.acceptableContentTypes?.insert("text/html")
        SVProgressHUD.show()
        AFN.GET("http://www.weather.com.cn/data/sk/101010100.html", parameters: nil, success: { (task, result) -> Void in
            SVProgressHUD.dismiss()
            print(result)
            }) { (_, error) -> Void in
                SVProgressHUD.showErrorWithStatus("网络君正在思考中")
                print(error)
    }
    
      
    }
}
